﻿Public Class DMPhongBan

    Public Sub New()
        InitializeComponent()
        Me.setObj(Me.PCV_CLINICDataSet_Don, Me.PCV_CLINICDataSet_Don.DMPhongBan, Me.DMPhongBanBindingSource, Me.TableAdapterManager, DMPhongBanTableAdapter, MaITextEdit)
    End Sub

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'PCV_CLINICDataSet_Don.DMTinhTrang' table. You can move, or remove it, as needed.
        Me.DMTinhTrangTableAdapter.Fill(Me.PCV_CLINICDataSet_Don.DMTinhTrang)
        Me.DMKhoaTableAdapter.Fill(Me.PCV_CLINICDataSet_Don.DMKhoa)
        Me.DMPhongBanTableAdapter.Fill(Me.PCV_CLINICDataSet_Don.DMPhongBan)

    End Sub

    Private Shadows Sub BarButtonItemBaoCao_ItemClick(sender As Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItemBaoCao.ItemClick
        Dim report As Rp_DMPhongBan = New Rp_DMPhongBan
        report.ShowRibbonPreview()

    End Sub
End Class
